package com.colin.datamove.entity;


import java.util.Date;

public class CompanyModel extends MoveFlag {
    private static final long serialVersionUID = -4917845835990019113L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 公司名称
     */
    private String name;

    /**
     * 公司编码
     */
    private String companyCode;

    /**
     * 公司地址
     */
    private String companyAddress;

    /**
     * 母公司id
     */
    private Long parentCompanyId;

    /**
     * 一级公司id
     */
    private Long rootCompanyId;

    /**
     * 公司状态
     */
    private Integer status;

    /**
     * 数据状态 0 为正常
     */
    private Integer dataStatus;

    /**
     * 创建时间
     */
    private Date cdate;

    /**
     * 更新时间
     */
    private Date mdate;

    /**
     * 数据权限类型
     */
    private Boolean hasDataPermission;

    /**
     * isTestCompany 是否是测试公司
     */
    private Integer isTestCompany;

    private String companyOutCode;

    /**
     * 公司外部标识
     */
    private String outCompanyId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }

    public Long getParentCompanyId() {
        return parentCompanyId;
    }

    public void setParentCompanyId(Long parentCompanyId) {
        this.parentCompanyId = parentCompanyId;
    }

    public Long getRootCompanyId() {
        return rootCompanyId;
    }

    public void setRootCompanyId(Long rootCompanyId) {
        this.rootCompanyId = rootCompanyId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(Integer dataStatus) {
        this.dataStatus = dataStatus;
    }

    public Date getCdate() {
        return cdate;
    }

    public void setCdate(Date cdate) {
        this.cdate = cdate;
    }

    public Date getMdate() {
        return mdate;
    }

    public void setMdate(Date mdate) {
        this.mdate = mdate;
    }

    public Boolean getHasDataPermission() {
        return hasDataPermission;
    }

    public void setHasDataPermission(Boolean hasDataPermission) {
        this.hasDataPermission = hasDataPermission;
    }

    public Integer getIsTestCompany() {
        return isTestCompany;
    }

    public void setIsTestCompany(Integer isTestCompany) {
        this.isTestCompany = isTestCompany;
    }

    public String getCompanyOutCode() {
        return companyOutCode;
    }

    public void setCompanyOutCode(String companyOutCode) {
        this.companyOutCode = companyOutCode;
    }

    public String getOutCompanyId() {
        return outCompanyId;
    }

    public void setOutCompanyId(String outCompanyId) {
        this.outCompanyId = outCompanyId;
    }
}
